package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.PrivateMessage;
import cn.wolfcode.trip.base.query.PrivateMessageQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPrivateMessageService {
    void send(PrivateMessage entity);

    PageInfo queryPrivateMessage(PrivateMessageQueryObject qo);

    PageInfo queryMessagesByBothId(PrivateMessageQueryObject qo);

    void readMessage(PrivateMessageQueryObject qo);
}
